package com.github.rpc4j.consumer.zk;

import com.netflix.curator.framework.CuratorFramework;
import com.netflix.curator.framework.api.CuratorEvent;
import com.netflix.curator.framework.api.CuratorListener;

public class Rpc4jCuratorListener implements CuratorListener {

	public Rpc4jCuratorListener() {
		
	}

	@Override
	public void eventReceived(CuratorFramework client, CuratorEvent event)
			throws Exception {
		System.out.println("event name:"+event.getType().name()+"----event path:"+event.getPath());
    }

}
